package tt.dz.egobus.servicemanager.business.constant;

import tt.dz.egobus.bean.CodeStatus;

/**
 * @author Anson
 * @date 17-8-10
 * @name 业务流程类别
 * @since 1.0.6
 */
public enum BusinessTypeEnum implements CodeStatus {
    DISTRIBUTE_LEAFLETS(1, "系统派单模式"), GRAB_LEAFLETS(2, "抢单模式");

    private int code;

    private String msg;

    BusinessTypeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }

    @Override
    public int getCode() {
        return this.code;
    }
}
